<?php

// ---------------------------------------------------------------------------
// Please, don't touch this file.
// If you need to custom this Class, you can edit proveedor.php
// file overwrite and define new methods
// ---------------------------------------------------------------------------

/**
 * 
 *
 * @Authors Sanchez Raul 
 * @package sisco
 * @subpackage model
 */
class Proveedor_protoweb extends Sisco_model
{
	public $table      = "proveedores";
	public $model      = "proveedor";
	public $has_many   = array('remito');
	public $has_one    = array();
		public $validation = array(
		'nombre' => array(
			'label' => 'Nombre',
			'rules' => array('trim','required')			
		),
		'telefono' => array(
			'label' => 'Número de teléfono',
			'rules' => array('trim')
					
		),
		'direccion' => array(
			'label' => 'Dirección postal',
			'rules' => array('trim')
		)
	); // $validation
	

	public function __construct($id = NULL)
	{
		parent::__construct($id);
	}

} // Class Proveedor_protoweb

/* End of file proveedor_protoweb.php */
/* Location: ./application/models/protoweb/proveedor_protoweb.php */